#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

int main (void)
{
	int fd = open ("/dev/led_gpio10", O_RDWR);
	if (fd < 0) {
		perror ("open");
		return -1;
	}
	printf ("open successed!\n");
	sleep (10);
	printf ("closing...\n");
	close (fd);
	return 0;
}
